@extends('layout.wechat_frame')

@section('main')

    <header class="mui-bar mui-bar-nav">
        <h1 class="mui-title">设置</h1>
    </header>
    <div class="mui-content">

        <ul class="mui-table-view mui-table-view-striped mui-table-view-condensed">
            <li class="mui-table-view-cell">
                <div class="mui-table">
                    <div class="mui-table-cell mui-col-xs-10">
                        <h4 class="mui-ellipsis">账号：{{$user_name}}</h4>
                        <h5><span>系统说明：</span></h5>
                        <textarea id="textarea" class="ips-textarea" rows="3" placeholder="" >本系统为易诚荟采贸平台供货商用移动报价端</textarea>
                    </div>
                </div>
            </li>
        </ul>

        <div class="mui-content-padded">
            <button id="logout" type="button" class="mui-btn mui-btn-danger mui-btn-block">解除绑定并退出</button>
        </div>
    </div>
@stop

@section('js')
    <script type="text/javascript">
        // 退出
        var logoutButton = document.getElementById("logout");
        logoutButton.addEventListener('tap',function(){
            mui.openWindow("{{ route('auth.wechat.unbind')}}");
        });
    </script>
@stop


